import React from 'react';
import ReactDOM from 'react-dom';
import Sqls from './sqls';
import { shallow } from 'enzyme';

it('renders without crashing', () => {
  const div = document.createElement('div');
  ReactDOM.render(<Sqls />, div);
  ReactDOM.unmountComponentAtNode(div);
  const wrapper = shallow(<Sqls />);
  expect(wrapper.find('div').length).toEqual(1);
});
